<?php 

class LsClientScript
extends CClientScript
{
	
	/**
	 * Registers a core javascript library.
	 * @param string $name the core javascript library name
	 * @return CClientScript the CClientScript object itself (to support method chaining, available since version 1.1.5).
	 * @see renderCoreScript
	 */
	public function registerCoreScript($name){
		$r = parent::registerCoreScript($name);
		if($name == 'jquery'){
			$this->registerScript('jquery_noconflict', 'jQuery.noConflict();', $this->coreScriptPosition);
		}
		return $r;
	}
	
}

?>